package com.ax.base.system.service;


import java.util.Map;

import org.springframework.stereotype.Service;

import com.ax.base.common.domain.BaseArea;
import com.ax.base.common.domain.Tree;
import com.ax.base.common.utils.PageUtils;
import com.ax.base.system.domain.MenuDO;
@Service
public interface AreaService {

	public Tree<MenuDO> list();
	
	/**
	 * 行政规划查询(模块:行政规划)
	 * 
	 * @param Map<String, Object> map
	 *           
	 * @return List<BaseArea>
	 */
	public PageUtils queryArealistSer(Map<String, Object> params);
	
	/**
	 * 行政规划新增(模块:行政规划)
	 * 
	 * @param Map<String, Object> map
	 *           
	 * @return BaseArea
	 */
	public BaseArea getArea(Long areaId);
	
	/**
	 * 行政规划新增(模块:行政规划)
	 * 
	 * @param BaseArea baseArea
	 *           
	 * @return SUCC
	 */
	public void insertAreaSer(BaseArea baseArea);
	
	/**
	 * 行政规划修改(模块:行政规划)
	 * 
	 * @param BaseArea baseArea
	 *           
	 * @return SUCC
	 */
	public void updateAreaSer(BaseArea baseArea);
	
	/**
	 * Tree
	 * 
	 * @param Long parentAreaId
	 *           
	 * @return Tree<MenuDO>
	 */
	public Tree<MenuDO> getAreaTree(Long parentAreaId);
}
